package com.eastcom.providor.service.impl;

import java.util.List;

import com.eastcom.bm.atom.Atom_NeSpecialThreadhold;
import com.eastcom.providor.dao.INeSpecialThreadHoldDao;
import com.eastcom.providor.service.BaseService;
import com.eastcom.providor.service.INeSpecialThreadHoldService;

public class NeSpecialThreadHoldService extends BaseService implements INeSpecialThreadHoldService {

	private INeSpecialThreadHoldDao neSpecialThreadHoldDao;
	
	
	
	public void setNeSpecialThreadHoldDao(
			INeSpecialThreadHoldDao neSpecialThreadHoldDao) {
		this.neSpecialThreadHoldDao = neSpecialThreadHoldDao;
	}


	public List<Atom_NeSpecialThreadhold> getAllNeSpecialThreadhold() {
		// TODO Auto-generated method stub
		try{
			//INeSpecialThreadHoldDao specialTresDao=DAOFactory.getInstance().getNeSpecialThreadHoldDao();
			return neSpecialThreadHoldDao.getAllNeSpecialThreadhold();
		}
		catch(Exception e){
			log.error("INeSpecialThreadHoldService getAllNeSpecialThreadhold error", e);
		}
		/*
		finally{
			JDBCTemplate.doSessionFinally();
		}*/
		
		return null;
	}

}
